home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / digests / tcp / 940185.txt < prev    next >
Internet Message Format  |  1994-11-13  |  17KB

  1. Date: Sat, 27 Aug 94 04:30:02 PDT
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V94 #185
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Sat, 27 Aug 94       Volume 94 : Issue  185
  11.  
  12. Today's Topics:
  13.              Changing environment (was RE: Dos Computers)
  14.                            Client only NOS
  15.              Computers, ethernet and lightning protection
  16.                    How does IP encapsulation work?
  17.                          JOTA Operation in GB
  18.                          mailbox autoconnect
  19.                  Optical isolator for TNC connection
  20.                         Port 513 call/response
  21.                            Windows and SLIP
  22.  
  23. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  24. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  25. Problems you can't solve otherwise to brian@ucsd.edu.
  26.  
  27. Archives of past issues of the TCP-Group Digest are available
  28. (by FTP only) from UCSD.Edu in directory "mailarchives".
  29.  
  30. We trust that readers are intelligent enough to realize that all text
  31. herein consists of personal comments and does not represent the official
  32. policies or positions of any party.  Your mileage may vary.  So there.
  33. ----------------------------------------------------------------------
  34.  
  35. Date: Fri, 26 Aug 94 23:00 WET DST
  36. From: glg@balrog.k8lt.ampr.org (Gary L. Grebus)
  37. Subject: Changing environment (was RE: Dos Computers)
  38. To: jks@giskard.utmem.edu
  39.  
  40. >From: jks@giskard.utmem.edu
  41. >
  42. >1. Is there a smooth way to get AX.25 protocol into, say,  a system driver
  43. >or "packet-driver-like-entity" for the major internal SCC cards like the
  44. >PI/PI2/DRSI boards? Could it be done so that existing software could use it?
  45. >
  46.  
  47. It wasn't too hard to hack AX.25 UI frame support on top of the
  48. ETHERSLIP packet driver.  The same sort of addition could be made to
  49. other packet drivers.  
  50.  
  51. Most of the current stacks will talk to an Ethernet class packet
  52. driver.
  53.  
  54. >
  55. >2. Would you want AX.25 and SCC together or keep them separate?
  56.  
  57. A next step might be to repackage the AX.25 support
  58. as a separate module, like the "shims" that are used to interface
  59. packet drivers to stacks that want ODI or NDIS drivers.  That would
  60. make it useable with any hardware driver.  It would likely
  61. get a little ugly, though,  since the packet driver API was really
  62. intended only for hardware drivers.
  63.  
  64.  
  65. >
  66. >3. Does Trumpet socket software work over radio now at all? If so can you
  67. >use all common speeds, or does it require 9600 or greater as a minimum?
  68.  
  69. >From my limited testing, the Trumpet stack "sort of" works at 1200
  70. baud, if you have an extremely low error rate path, and don't use
  71. things like the DNS name resolution (which have fixed timeout values
  72. at the application level).  Another consideration is that most apps
  73. will assume reasonable bandwidth e.g. a Windows FTP application will
  74. want to keep grabbing the current directory listing so you can "point
  75. and click".
  76.  
  77. >
  78. >4. Is Trumpet copyleft? Should a "radio enabled" version be engineered if
  79. >so and it needs to be?
  80.  
  81. It's fully proprietary, as far as I know.  That's a serious drawback
  82. of all of the Windows stacks I've seen...there's no way to fix them to
  83. be "radio friendly".  The only stack I've run across with source code
  84. is WATTCP, but that's a DOS stack, and doesn't support Winsock.
  85. (The lack of source code is one reason I'm more inclined to hack under
  86. Unix than Windows.)
  87.  
  88. I just wish I had more time to actually work on trying to implement
  89. some of this stuff.
  90.  
  91. 73,
  92.  
  93.     /gary
  94.  
  95. Gary L. Grebus        Home:  glg@k8lt.ampr.org  (decvax!balrog!glg)
  96. Brookline, NH           Work:  grebus@bxb.dec.com
  97.             Ham Packet: K8LT@WA1PHY.#EMA.MA.USA
  98.  
  99. ------------------------------
  100.  
  101. Date: Fri, 26 Aug 94 09:30:14 PDT
  102. From: ve7qc@ve7mdl.ampr.org
  103. Subject: Client only NOS
  104. To: tcp-group@ucsd.edu
  105.  
  106. Hello... can someone point me to a FTP site where I can pick up a
  107. "smallish" version of NOS with only clients.  I am not interested in
  108. running any servers, but it has to be POP3 capable.
  109.  
  110. Just something to SMTP/POP with the local gateway and where I dont have
  111. to exit to run the mailer (VIEW) on DOS 640K.
  112.  
  113. Thanks for any leads... 73 de Bill VE7QC@VE7MDL.ampr.org
  114.  
  115. ------------------------------
  116.  
  117. Date: Fri, 26 Aug 94 10:51:00 PDT
  118. From: "John D. Hays" <jhays@networx.com>
  119. Subject: Computers, ethernet and lightning protection
  120. To: "'TCP Interest Group at UCSD'" <tcp-group@ucsd.edu>
  121.  
  122. It seem to me that with a little homebrew work, one could do the optical 
  123. isolation on the modem (tnc) to radio connection.  If the power supply was 
  124. properly isolated to the radio, and antennas, etc. were well grounded, then 
  125. the everything on the digital side should be fine.  Sacrificing as little 
  126. equipment as possible to Thor seems appropriate to me.
  127.  
  128. DE KD7UW
  129. John D. Hays
  130. jhays@hays.org
  131.  
  132. ------------------------------
  133.  
  134. Date: Fri, 26 Aug 1994 09:41:37 -0800 (PDT)
  135. From: jmorriso@bogomips.ee.ubc.ca (John Paul Morrison)
  136. Subject: How does IP encapsulation work?
  137. To: TCP-Group@UCSD.EDU
  138.  
  139. How does IP encapsulation work, ie. the code in NOS used for
  140. AMPR-to-Internet gateways (IP over IP)? Is there an RFC? Is there a
  141. set of specs or can someone explain it?
  142.  
  143. I'd like to write Linux kernel code to implement this. I'd rather
  144. start from scratch, instead of deciphering the NOS or 386BSD code.
  145.  
  146. thanks
  147.  
  148.  
  149. ---------------------------------------------------------------------------
  150. BogoMIPS Research Labs  --  bogosity research & simulation  --  VE7JPM  -- 
  151. jmorriso@bogomips.ee.ubc.ca ve7jpm@ve7jpm.ampr.org jmorriso@rflab.ee.ubc.ca
  152. ---------------------------------------------------------------------------
  153.  
  154. ------------------------------
  155.  
  156. Date: Fri, 26 Aug 94 23:32:05 CST
  157. From: k5yfw@k5yfw.ampr.org (Walter D. DuBose - K5YFW)
  158. Subject: JOTA Operation in GB
  159. To: nos-bbs@hydra.carleton.ca, tcp-group@ucsd.edu
  160.  
  161. While not the ideal channel for this query, would someone in GB contact
  162. me or someone who has knowledge of JOTA operation from Gilwell this year
  163. during JOTA (15-16 Oct).  Will there be operation from Gilwell on the
  164. conference bridge as there was last year?  I would like to set up a
  165. short QSO between our new Alamo Area Counsel BSA Chief Scout Execuative,
  166. with a JOTA station at Gilwell between 1600 to 1800 UTC.
  167.  
  168. Best Regards,
  169.  
  170. Walt/K5YFW
  171. Alamo Area Council & San Antonio RC JOTA Chairman
  172.  
  173. PS, I used to be a FOX.
  174.  
  175. ------------------------------
  176.  
  177. Date: Fri, 26 Aug 1994 11:15:13 -0700
  178. From: brian@nothing.ucsd.edu (Brian Kantor)
  179. Subject: mailbox autoconnect
  180. To: nos-hacks@UCSD.EDU, tcp-group@UCSD.EDU
  181.  
  182. I was cleaning up my home directory and found the patches to the KA9Q code
  183. that implements an autoconnect feature for the mailbox.  What this does
  184. is open a telnet connection to a configured address and port whenever an
  185. AX.25 or Net/Rom connection is made to the NOS host.
  186.  
  187. If you have the configuration that Phil and others are using, where a
  188. NOS box interfaces your radios, this lets you stick all the servers
  189. (BBS, etc) on your BSD Unix host and still let the unwashed AX.25 masses
  190. use them.
  191.  
  192. It's not real well debugged, but it's a start.  These diffs are for ka9q
  193. NOS of about a year ago, not any of the variants.
  194.  
  195. Enjoy.
  196.     - Brian
  197.  
  198.  
  199. *** c:\tmp/T0AA.AAA    Fri Dec 31 17:40:58 1993
  200. --- mailbox.c    Fri Dec 31 17:40:34 1993
  201. ***************
  202. *** 47,52 ****
  203. --- 47,55 ----
  204.   static char *Motd = NULLCHAR;
  205.   static int Attended = TRUE;    /* default to attended mode */
  206.   unsigned Maxlet = BM_NLET;
  207. + static unsigned Mport = 0;
  208. + static int32 Mhost = 0;
  209. + static int Mauto = FALSE;    /* default to local mode */
  210.   
  211.   char Noperm[] = "Permission denied.\n";
  212.   char Nosock[] = "Can't create socket\n";
  213. ***************
  214. *** 70,84 ****
  215. --- 73,95 ----
  216.   static int domaxmsg(int argc,char *argv[],void *p);
  217.   static int domotd(int argc,char *argv[],void *p);
  218.   static int dotimeout(int argc,char *argv[],void *p);
  219. + static int dohost(int argc,char *argv[],void *p);
  220. + static int doport(int argc,char *argv[],void *p);
  221. + static int doauto(int argc,char *argv[],void *p);
  222.   
  223.   /* mbox subcommand table */
  224.   static struct cmds Mbtab[] = {
  225.       "attend",    doattend,    0, 0, NULLCHAR,
  226. +     "auto",        doauto,        0, 0, NULLCHAR,
  227.   #ifdef    AX25
  228. +     "host",        dohost,        0, 0, NULLCHAR,
  229.       "kick",        dombkick,    0, 0, NULLCHAR,
  230.   #endif
  231.       "maxmsg",    domaxmsg,    0, 0, NULLCHAR,
  232.       "motd",        domotd,        0, 0, NULLCHAR,
  233. + #ifdef    AX25
  234. +     "port",        doport,        0, 0, NULLCHAR,
  235. + #endif
  236.       "status",    domboxdisplay,    0, 0, NULLCHAR,
  237.   #ifdef    AX25
  238.       "timer",    dombtimer,    0, 0, NULLCHAR,
  239. ***************
  240. *** 111,116 ****
  241. --- 122,140 ----
  242.       return setbool(&Attended,"Attended flag",argc,argv);
  243.   }
  244.   
  245. + /*
  246. +  * if mbox 'auto' mode is set, connects to the remote mbox
  247. +  * - just autoinitiate a session to a Mhost on Mport
  248. +  */
  249. + static int
  250. + doauto(argc,argv,p)
  251. + int argc;
  252. + char *argv[];
  253. + void *p;
  254. + {
  255. +     return setbool(&Mauto,"Mbox autoconnect",argc,argv);
  256. + }
  257.   static int
  258.   domaxmsg(argc,argv,p)
  259.   int argc;
  260. ***************
  261. *** 121,126 ****
  262. --- 145,175 ----
  263.   }
  264.   
  265.   static int
  266. + dohost(argc,argv,p)
  267. + int argc;
  268. + char *argv[];
  269. + void *p;
  270. + {
  271. +     if (argc == 2)
  272. +         if((Mhost = resolve(argv[1])) == 0){
  273. +             printf(Badhost,argv[1]);
  274. +             return 0;
  275. +         }
  276. +     else
  277. +         printf("Mbox Autoconnect Host: %s\n", inet_ntoa(Mhost));
  278. +     return 0;
  279. + }
  280. + static int
  281. + doport(argc,argv,p)
  282. + int argc;
  283. + char *argv[];
  284. + void *p;
  285. + {
  286. +     return setuns(&Mport,"Mbox autoconnect port",argc,argv);
  287. + }
  288. + static int
  289.   domotd(argc,argv,p)
  290.   int argc;
  291.   char *argv[];
  292. ***************
  293. *** 159,165 ****
  294.       struct mbx *m;
  295.       char fsocket[MAXSOCKSIZE];
  296.       static char *states[] = {"LOGIN","CMD","SUBJ","DATA","REVFWD",
  297. !                 "TRYING","FORWARD"};
  298.   
  299.       printf("User       State    S#  Where\n");
  300.   
  301. --- 208,214 ----
  302.       struct mbx *m;
  303.       char fsocket[MAXSOCKSIZE];
  304.       static char *states[] = {"LOGIN","CMD","SUBJ","DATA","REVFWD",
  305. !                 "TRYING","FORWARD","AUTO"};
  306.   
  307.       printf("User       State    S#  Where\n");
  308.   
  309. ***************
  310. *** 271,278 ****
  311.               return -1;
  312.           return 0;
  313.   #endif
  314. -     case AF_LOCAL:
  315.       case AF_INET:
  316.           m->state = MBX_LOGIN;
  317.           printf(Loginbanner,Hostname);
  318.           for(;;){
  319. --- 320,327 ----
  320.               return -1;
  321.           return 0;
  322.   #endif
  323.       case AF_INET:
  324. +     case AF_LOCAL:
  325.           m->state = MBX_LOGIN;
  326.           printf(Loginbanner,Hostname);
  327.           for(;;){
  328. ***************
  329. *** 289,297 ****
  330.               fmode(m->user,oldmode);
  331.               putchar('\n');
  332.   #ifdef    notdef
  333. !             /* This is needed if the password was send before the
  334. !              * telnet no-echo options were received. We neeed to
  335. !              * flush the eold sequence from the input buffers, sigh
  336.                */
  337.               if(socklen(fileno(m->user),0))/* discard any remaining input */
  338.                   recv_mbuf(fileno(m->user),NULL,0,NULLCHAR,0);
  339. --- 338,346 ----
  340.               fmode(m->user,oldmode);
  341.               putchar('\n');
  342.   #ifdef    notdef
  343. !             /* This is needed if the password was sent before the
  344. !              * telnet no-echo options were received. We need to
  345. !              * flush the EOL sequence from the input buffers, sigh
  346.                */
  347.               if(socklen(fileno(m->user),0))/* discard any remaining input */
  348.                   recv_mbuf(fileno(m->user),NULL,0,NULLCHAR,0);
  349. ***************
  350. *** 348,353 ****
  351. --- 397,403 ----
  352.           printf("Too many mailbox sessions\n");
  353.           return;
  354.       }
  355.       m->user = network;
  356.       m->escape = 24;        /* default escape character is Ctrl-X */
  357.       m->type = (int) t;
  358. ***************
  359. *** 357,362 ****
  360. --- 407,425 ----
  361.           return;
  362.       }
  363.   
  364. +     /*
  365. +      * if we're in auto mode, open a telnet-like connection to
  366. +      * the specified host/port
  367. +      */
  368. +     if (Mauto && Mhost && Mport) {
  369. +         puts("wait...");
  370. +         m->state = MBX_AUTO;
  371. +         dombremote(p);
  372. +         exitbbs(m);
  373. +         fclose(stdout);
  374. +         return 0;
  375. +     }
  376.       m->state = MBX_CMD;    /* start in command state */
  377.   
  378.       /* Now say hi */
  379. ***************
  380. *** 377,382 ****
  381. --- 440,446 ----
  382.           printf((m->sid & MBX_SID) ? ">\n" : Mbmenu, m->current);
  383.           m->state = MBX_CMD;
  384.       }
  385.       exitbbs(m);
  386.       /* nasty hack! we may have screwed up reference count */
  387.       /* by invoking newproc("smtp_send",....); Fudge it!   */
  388. ***************
  389. *** 383,388 ****
  390. --- 447,453 ----
  391.       if((up = itop(fileno(stdout))) != NULLUSOCK)
  392.           up->refcnt = 1;
  393.       fclose(stdout);
  394. +     return;
  395.   }
  396.   
  397.   void
  398. ***************
  399. *** 400,405 ****
  400. --- 465,501 ----
  401.       free((char *)m);
  402.   }
  403.   
  404. + static int
  405. + dombremote(p)
  406. + void *p;
  407. + {
  408. +     struct mbx *m;
  409. +     int s, len, i;
  410. +     char dsocket[MAXSOCKSIZE];
  411. +     struct sockaddr_in fsocket;
  412. +     fsocket.sin_family = AF_INET;
  413. +     fsocket.sin_port = Mport;
  414. +     fsocket.sin_addr.s_addr = Mhost;
  415. +     
  416. +     if((s = socket(AF_INET,SOCK_STREAM,0)) == -1){
  417. +         printf(Nosock);
  418. +         return 0;
  419. +     }
  420. +     /* send user ID as first line after connection */
  421. +     m = (struct mbx *) p;
  422. +     m->startmsg = mallocw(80);
  423. +     len = MAXSOCKSIZE;
  424. +     i = getpeername(fileno(m->user),dsocket,&len);
  425. +     sprintf(m->startmsg, "%s@%s\n",
  426. +         m->name,i != -1 ? psocket(dsocket): Hostname);
  427. +     m->escape = 0;        /* escape character NULL */
  428. +     return gw_connect(m,s,(char *)&fsocket,SOCKSIZE);
  429. + }
  430.   /**********************************************************************/
  431.   
  432.   static int dochat(int argc,char *argv[],void *p);
  433. ***************
  434. *** 857,865 ****
  435.       m = (struct mbx *)p;
  436.       if(argc < 2){
  437.           printf("The escape character is: ");
  438. !         if(m->escape < 32)
  439. !             printf("CTRL-%c\n",m->escape+'A'-1);
  440. !         else
  441.               printf("'%c'\n",m->escape);
  442.           return 0;
  443.       }
  444. --- 953,963 ----
  445.       m = (struct mbx *)p;
  446.       if(argc < 2){
  447.           printf("The escape character is: ");
  448. !         if(m->escape == 0)
  449. !             printf("NULL\n");
  450. !         else if(m->escape < 32)
  451. !             printf("'Control-%c'\n", m->escape+'A'-1);
  452. !         else if(m->escape > 31)
  453.               printf("'%c'\n",m->escape);
  454.           return 0;
  455.       }
  456. ***************
  457. *** 1242,1247 ****
  458. --- 1340,1346 ----
  459.       
  460.       if(m->startmsg != NULLCHAR){
  461.           fputs(m->startmsg,network);
  462. +         fflush(network);
  463.           free(m->startmsg);
  464.           m->startmsg = NULLCHAR;
  465.       }
  466. ***************
  467. *** 1251,1257 ****
  468.       gwa = (struct gwalarm *) mallocw(sizeof(struct gwalarm));
  469.       gwa->s1 = stdout;
  470.       gwa->s2 = network;
  471. !     set_timer(&gwa->t,240L);
  472.       gwa->t.func = gw_alarm;
  473.       gwa->t.arg = (void *) gwa;
  474.       start_timer(&gwa->t);
  475. --- 1350,1356 ----
  476.       gwa = (struct gwalarm *) mallocw(sizeof(struct gwalarm));
  477.       gwa->s1 = stdout;
  478.       gwa->s2 = network;
  479. !     set_timer(&gwa->t,100L);
  480.       gwa->t.func = gw_alarm;
  481.       gwa->t.arg = (void *) gwa;
  482.       start_timer(&gwa->t);
  483. ***************
  484. *** 1261,1267 ****
  485.       for(;;){
  486.           if((c = getchar()) == EOF)
  487.               break;
  488. !         if(c == m->escape){
  489.               puts("Disconnecting.");
  490.               if(socklen(fileno(stdin),0))
  491.                   recv_mbuf(fileno(stdin),NULL,0,NULLCHAR,0);
  492. --- 1360,1366 ----
  493.       for(;;){
  494.           if((c = getchar()) == EOF)
  495.               break;
  496. !         if(!Mauto && c == m->escape){
  497.               puts("Disconnecting.");
  498.               if(socklen(fileno(stdin),0))
  499.                   recv_mbuf(fileno(stdin),NULL,0,NULLCHAR,0);
  500. ***************
  501. *** 1680,1686 ****
  502.        fclose(fp);
  503.        return 0;
  504.   }
  505. -      
  506.   
  507.   /* uuencode a file -- translated from C++; both versions copyright 1990
  508.      by David R. Evans, G4AMJ/NQ0I
  509. --- 1779,1784 ----
  510.  
  511. ------------------------------
  512.  
  513. Date: Fri, 26 Aug 94 11:58 PDT
  514. From: bruce@pixar.com (Bruce Perens)
  515. Subject: Optical isolator for TNC connection
  516. To: "'TCP Interest Group at UCSD'" <tcp-group@UCSD.EDU>,
  517.  
  518. I see that OMEGA Engineering sells a RS-232 opto-isolation module for
  519. $126 . I suppose this might help isolate your computer from your TNC
  520. and prevent lightning damange.
  521.  
  522. It says here it's their part number CAT-268, and to get information on it
  523. you can call 1-800-848-4271 with your FAX number in hand and request
  524. document #6294 to be FAXed back to you. Of course I don't have anything
  525. to do with OMEGA, I just read this out of the EDN products edition.
  526.  
  527. I suppose someone must sell RS-232 to fiber transceivers.
  528.  
  529.     Bruce Perens AB6YM
  530.  
  531. ------------------------------
  532.  
  533. Date: Fri, 26 Aug 1994 13:57:36 -0700
  534. From: Phil Karn <karn@unix.ka9q.ampr.org>
  535. Subject: Port 513 call/response
  536. To: garry@cyanea.apana.org.au ()
  537.  
  538. "whod" is not a standard internet service. Are you saying that your service
  539. provider expects your machine to run it, and fails to work correctly
  540. without it? If so, I'd complain.
  541.  
  542. Phil
  543.  
  544. ------------------------------
  545.  
  546. Date: Fri, 26 Aug 94 13:26:39 BST
  547. From: Martin Lines <mlines@sni.co.uk>
  548. Subject: Windows and SLIP
  549. To: tcp-group@UCSD.EDU
  550.  
  551. Micro$oft have produced TCP/IP drivers for WFW3.11. The
  552. available issue appears to only operate over Ethernet (NDIS 3).
  553.  
  554. Does anyone know of a SLIP or PPP version??
  555.  
  556. mlines@sni.co.uk
  557. Regards
  558.  
  559. Martin Lines
  560.  
  561. Network Consultant
  562. __________________________________________________________
  563. Home:
  564.  
  565. ||||| ||||| ||||||   G1SEO@G1SEO.AMPR.ORG. (no Internet) 
  566. |   | |       ||     G1SEO@GB7TXA
  567. |   | |||     ||     22, Dowding Close
  568. |   |    ||   ||     Woodley                +44 734 441473
  569. |   |     |   ||     Reading                +44 891 522564
  570. ||||| ||||| ||||||   RG5 4NL . UK
  571. __________________________________________________________
  572. Work:
  573.                      mlines@sni.co.uk
  574.  
  575.                                             +44 344 850131
  576.                                        Fax: +44 344 850982
  577. __________________________________________________________
  578.  
  579. ------------------------------
  580.  
  581. Date: Sat, 27 Aug 1994 16:43:38 +0700 (GMT+7:00)
  582. From: "Sahry RA." <sahry@hafni.aia.bppt.go.id>
  583. To: tcp-group@ucsd.edu
  584.  
  585. help
  586.  
  587. ------------------------------
  588.  
  589. End of TCP-Group Digest V94 #185
  590. ******************************
  591.